package model.command;
import controller.KeyListeners.KeyListenerSet;
import model.playable.Playable;
/**
 * Defines attributes common to all playable type commands.
 *
 * @author joseph
 */
public abstract class PlayableCommand extends Command{
    private Playable playable;
    /**
     * Initiates this playable command
     *
     * @param listeners             The listeners availible to this command
     * @param playable              The playable to execute this command
     */
    public PlayableCommand(Playable playable){
        super();
        setPlayable(playable);
    }
    /**
     * 
     * @return
     */
    public Playable getPlayable(){
        return playable;
    }
    public void setPlayable(Playable playable){
        this.playable = playable;
    }
}
